package com.Register.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ESDTO implements Serializable {

    @Schema(description = "要查询的内容")
    private String context;

    @Schema(description = "页码")
    @Builder.Default
    private int pageNo=1;

    @Schema(description = "当前页内容数")
    @Builder.Default
    private int pageSize=10;
}
